package com.itfallrain.dao;

import com.itfallrain.entity.Role;
import com.itfallrain.entity.RoleExtend;

import java.util.List;
import java.util.Map;

public interface RoleMapper {
    int deleteByPrimaryKey(Integer id);


    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);
    Long getRoleCount();
    List<Map<String,Object>> selectUserAll(Map<String,Object>map);

    List<RoleExtend> selectAllAuths(Map<String, Integer> map);

}